<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题型代码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" data-rule="required" name="row[questcode]" placeholder="请输入题型代码" id="" value="{$info['questcode']|default=''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_name" data-rule="required" class="form-control" name="row[questype]" type="text" placeholder="请输入题型" value="{$info['questype']|default=''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('排序')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_name" data-rule="required" class="form-control" name="row[questsort]" type="number" placeholder="请输入排序" value="{$info['questsort']|default=''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题型分类')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select data-rule="required" class="form-control" name="row[question_category]">
                <option value="1">单选</option>
                <option value="2">多选</option>
                <option value="3">判断</option>
            </select>
        </div>
    </div>
    <input type="hidden" name="row[questid]" value="{$info['questid']|default=0}">
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
